package com.mcxx.modules.miniSalvation.order.service.read;

import com.mcxx.modules.miniSalvation.order.dao.read.PropertiesReadDao;
import com.mcxx.modules.miniSalvation.order.dto.PropertiesDTO;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@TaTransactional(readOnly = true)
@Service
public class PropertiesReadService {

    @Autowired
    private PropertiesReadDao propertiesReadDao;

    public  PropertiesDTO getConfigByAreaCode(String areaCode, String name){
        return propertiesReadDao.getConfigByAreaCode(areaCode, name);
    }

}
